<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('P_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-p_name" class="form-control" name="row[p_name]" type="text" value="{$row.p_name}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('S_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-s_name" class="form-control" name="row[s_name]" type="text" value="{$row.s_name}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('E_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-e_name" class="form-control" name="row[e_name]" type="text" value="{$row.e_name}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('P_no')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-p_no" class="form-control" name="row[p_no]" type="text" value="{$row.p_no}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-status" class="form-control" name="row[status]" type="number" value="{$row.status}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('P_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-p_type" class="form-control" name="row[p_type]" type="number" value="{$row.p_type}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Userid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-userid" class="form-control" name="row[userid]" type="number" value="{$row.userid}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Username')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-username" class="form-control" name="row[username]" type="text" value="{$row.username}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('C_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-c_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[c_time]" type="text" value="{$row.c_time|datetime}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Seotext')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-seotext" class="form-control " rows="5" name="row[seotext]" cols="50">{$row.seotext}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Startcity')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-startcity" class="form-control" name="row[startcity]" type="text" value="{$row.startcity}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Endcity')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class='control-relative'><input id="c-endcity" class="form-control" data-toggle="city-picker" name="row[endcity]" type="text" value="{$row.endcity}"></div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Transport')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-transport" class="form-control" name="row[transport]" type="text" value="{$row.transport}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Linkid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-linkid" class="form-control" name="row[linkid]" type="text" value="{$row.linkid}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('P_day')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-p_day" class="form-control" name="row[p_day]" type="number" value="{$row.p_day}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Children')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-children" class="form-control" name="row[children]" type="number" value="{$row.children}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
